<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<form action="" method="post" enctype="multipart/form-data" >
    {% csrf_token %}
    <input type="file" name="file">
    <br>
    <input type="submit" value="提交">


</form>


</body>
</html>